home *** CD-ROM | disk | FTP | other *** search
- import javax.microedition.lcdui.Command;
- import javax.microedition.lcdui.CommandListener;
- import javax.microedition.lcdui.Display;
- import javax.microedition.lcdui.Displayable;
- import javax.microedition.lcdui.Form;
-
- class ColldemoSl45$TextDisplay extends Form implements CommandListener {
- public static final int VALID = 0;
- public static final int INVALID = 1;
- private Display display;
- private Displayable nextDisp;
- private Command exitCommand;
- private int index;
- private int command;
- // $FF: renamed from: Id int
- private int field_0;
- // $FF: synthetic field
- private final ColldemoSl45 this$0;
-
- public ColldemoSl45$TextDisplay(ColldemoSl45 var1, Display var2, Displayable var3, String var4) {
- super("Help");
- this.this$0 = var1;
- this.exitCommand = new Command("Done", 4, 1);
- this.display = var2;
- this.nextDisp = var3;
- ((Displayable)this).addCommand(this.exitCommand);
- this.index = ((Form)this).append(var4);
- this.index = -1;
- this.field_0 = 1;
- }
-
- public void setText(String var1) {
- }
-
- public void showMe() {
- ((Displayable)this).setCommandListener(this);
- this.display.setCurrent(this);
- }
-
- public void commandAction(Command var1, Displayable var2) {
- int var3;
- if (this.field_0 != -1) {
- var3 = ColldemoSl45.access$000(this.this$0).validateAction(var1.getCommandType(), this.field_0, (String)null);
- } else {
- var3 = 0;
- }
-
- if (var3 == 0) {
- this.display.setCurrent(this.nextDisp);
- }
-
- }
- }
-